package com.designpatterns.state.context;

import com.designpatterns.state.state.Weather;

/**
 * Context Class
 * 
 * @author Haiqi.Wang
 * @since 2013-6-9下午5:51:03
 */
public class Context {
	private Weather weather;

	public Weather getWeather() {
		return weather;
	}

	public void setWeather(Weather weather) {
		this.weather = weather;
	}

	/**
	 * get weatherMessage method
	 * @return string
	 */
	public String weatherMessage() {
		return weather.getWeather();
	}
}
